<h2>Pengelolaan Operator Sistem</h2>
    <?php $sekolah = $this->referensi->get_list_sekolah();?>
   <br clear="all">
   <?php $no=1 ?>
   <table class="table tablepager">
       <thead>
           <tr>
               <th width="10px">No.</th>
               <th>Username</th>
               <th width="200px">Instansi</th>
               <th width="100px">Aksi</th>
           </tr>
       </thead>
       <tbody>
        <?php foreach($data as $detail): ?>
           <tr>
               <td  class="center"><?php echo $no++ ?></td>
               <td><?php echo $detail['login'] ?></td>
               <td align="center"><?php echo $sekolah[$detail['profil_id']]?></td>
               <td  class="center">
                   <?php echo anchor("users/user/delete/".$detail['id'],"delete",array('onclick'=>"return confirm('Apakah anda yakin akan menghapus data ini?')")) ?>
               </td>

           </tr>
        </tbody>
        <?php endforeach ?>
    </table>
      <br clear="all">
      <div id="pager" class="pager">
	<form>
		<img src="<?php echo site_url("images/prev.png") ?>" class="prev"/>
		<input type="text" class="pagedisplay"/>
		<img src="<?php echo site_url("images/next.png") ?>" class="next"/>
		<select class="pagesize">
			<option value="10">10</option>
			<option selected="selected"  value="15">15</option>
			<option value="20">20</option>
			<option value="50">50</option>
			<option  value="100">100</option>
		</select>
	</form>
</div>
   <br clear="all">
   <?php echo anchor("users/user/add", "Tambah Operator", array("class"=>"button")) ?>